package com.cloud.api.domain.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.io.Serializable;
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "ModelParts", description = "车型配件信息")
public class ModelParts implements Serializable {

    @Schema(description = "主键")
    @NotEmpty(message = "{validation.common.id}")
    private String id;

    @Schema(description = "底盘生产商")
    @NotEmpty(message = "{validation.model.chassisManufacturer}")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String chassisManufacturer;

    @Schema(description = "底盘型号")
    @NotEmpty(message = "{validation.model.chassisModel}")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String chassisModel;

    @Schema(description = "TBOX厂商")
    @NotEmpty(message = "{validation.model.tboxManufacturer}")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String tboxManufacturer;

    @Schema(description = "TBOX型号")
    @NotEmpty(message = "{validation.model.tboxModel}")
    @Size(max = 30,message = "{validation.common.maxSize}")
    private String tboxModel;
}
